#!/usr/bin.node
const log = console.log;

log('architecture:', process.arch);
log('platform: %s\n   ', process.platform);
log(`${process.platform}`);
log(`process.pid:  ${process.pid}`);
log(`process.exexPath : ${process.execPath}`);

log(`nodejs version :  ${process.version}`);
log(`user id process.getuid(): ${process.getuid}`);
log(`guoup id process.getgid（）:${process.getgid}`);
log(`process.cwd: ${process.cwd()}`);


log(`rss:       ${process.memoryUsage().rss}`);
log(`heapTotal: ${process.memoryUsage().heapTotal}`);
log(`heapUsed:  ${process.memoryUsage().heapUsed}`);
log(`external:  ${process.memoryUsage().external}\n`);


log(process.env);
log(`host name: ${process.env.HOSTNAME}`);



